package com.jumi.microservice.dto.reponse.api;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.jumi.microservice.enums.ConsumerType;
import com.jumi.microservice.enums.FenXiaoStatus;
import com.jumi.microservice.enums.FenXiaoType;
import com.jumi.microservice.enums.Level;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

@Api(value = "店铺业绩--累计业绩明细返回结果", tags = "店铺业绩--累计业绩明细返回结果")
/**
 * 与客户管理--客户明细 --个人业绩通用一个返回结果类.
 * 与累计总收益--收益明细通用一个返回结果类
 */
class TeamSalesResponse {
    @ApiModelProperty("受益人id")
    private Integer uid;
    @ApiModelProperty("购买人头像")
    private String avatar;
    @ApiModelProperty("购买人名字")
    private String name;
    @ApiModelProperty("购买人真实姓名")
    private String truename;
    @ApiModelProperty("购买人等级")
    private Level level;
    @ApiModelProperty("购买人微信号")
    private String wechartNum;
    @ApiModelProperty("购买人手机号")
    private String mobile;
    @ApiModelProperty("购买人id")
    private Integer buyerId;
    @ApiModelProperty("订单id")
    private Integer orderId;
    @ApiModelProperty("订单编号")
    private String orderSn;
    @ApiModelProperty("商品id")
    private Integer gid;
    @ApiModelProperty("商品名")
    private String goodsName;
    @ApiModelProperty("商品主图")
    private String goodsImage;
    @ApiModelProperty("商品实际支付价格")
    private BigDecimal payGoodsPrice;
    @ApiModelProperty("商品原价")
    private BigDecimal originGoodsPrice;
    @ApiModelProperty("收益类型")
    private FenXiaoType type;
    @ApiModelProperty("收益金额")
    private BigDecimal yongjin;
    @ApiModelProperty("收益状态")
    private FenXiaoStatus status;
    @ApiModelProperty("消费类型")
    private ConsumerType consumerType;
    @ApiModelProperty("创建时间")
    private LocalDate createTime;

    public FenXiaoStatus getStatus() {
        return status;
    }

    public void setStatus(FenXiaoStatus status) {
        this.status = status;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTruename() {
        return truename;
    }

    public void setTruename(String truename) {
        this.truename = truename;
    }

    public Level getLevel() {
        return level;
    }

    public void setLevel(Level level) {
        this.level = level;
    }

    public String getWechartNum() {
        return wechartNum;
    }

    public void setWechartNum(String wechartNum) {
        this.wechartNum = wechartNum;
    }

    public Integer getBuyerId() {
        return buyerId;
    }

    public void setBuyerId(Integer buyerId) {
        this.buyerId = buyerId;
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public String getOrderSn() {
        return orderSn;
    }

    public void setOrderSn(String orderSn) {
        this.orderSn = orderSn;
    }

    public Integer getGid() {
        return gid;
    }

    public void setGid(Integer gid) {
        this.gid = gid;
    }


    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getGoodsImage() {
        return goodsImage;
    }

    public void setGoodsImage(String goodsImage) {
        this.goodsImage = goodsImage;
    }

    public BigDecimal getPayGoodsPrice() {
        return payGoodsPrice;
    }

    public void setPayGoodsPrice(BigDecimal payGoodsPrice) {
        this.payGoodsPrice = payGoodsPrice;
    }

    public BigDecimal getOriginGoodsPrice() {
        return originGoodsPrice;
    }

    public void setOriginGoodsPrice(BigDecimal originGoodsPrice) {
        this.originGoodsPrice = originGoodsPrice;
    }

    public FenXiaoType getType() {
        return type;
    }

    public void setType(FenXiaoType type) {
        this.type = type;
    }

    public BigDecimal getYongjin() {
        return yongjin;
    }

    public void setYongjin(BigDecimal yongjin) {
        this.yongjin = yongjin;
    }

    public ConsumerType getConsumerType() {
        return consumerType;
    }

    public void setConsumerType(ConsumerType consumerType) {
        this.consumerType = consumerType;
    }

    public LocalDate getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDate createTime) {
        this.createTime = createTime;
    }
}
